﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Site
{
    public static class Logger
    {
        public static void Log(string Info, string Type, HttpServerUtility Server)
        {
            /*
            if (File.Exists(Server.MapPath("~/All.log")) == false)
                File.Create(Server.MapPath("~/All.log"));

            System.IO.FileStream fs = new System.IO.FileStream(Server.MapPath("~/All.log"), FileMode.Append);
            StreamWriter sr = new StreamWriter(fs);

            sr.WriteLine(DateTime.Now.ToShortDateString() + " : " + DateTime.Now.ToLongTimeString() + " - " + Type + " | " + Info);
            sr.Close();
            sr.Dispose();

            fs.Close();
            fs.Dispose();
             * */
        }
    }
}